package com.xl.basic.service;

import com.xl.basic.entity.Result;
import com.xl.basic.entity.param.AddRoleUserParam;
import com.xl.basic.entity.param.DelRoleUserParam;
import com.xl.basic.entity.UserInfo;
import lombok.NonNull;

/**
 * @author 钟勇
 * Create in 2023/8/30 10:21
 */
public interface RoleUserService {

    /**
     * 添加角色用户
     *
     * @param param    param
     * @param operator 操作人
     * @return result
     */
    Result<Object> addRoleUser(@NonNull AddRoleUserParam param, UserInfo operator);


    /**
     * 删除角色用户
     *
     * @param param    param
     * @param operator 操作人
     * @return result
     */
    Result<Object> delRoleUser(@NonNull DelRoleUserParam param, UserInfo operator);

}
